#include "SerialComm.h"
#include "regexp.h"

int main (void) {
	try {
		SerialComm sc;	
		sc.SetModem();
		//sc.SetModem1();
		sc.ReadSerialComm();
	}
	catch (const mysqlpp::BadQuery& er) {
		cout << "mian.cpp: " << __LINE__ << er.what() << endl;
	}
	catch (const mysqlpp::BadConversion& er) {
		cout << "mian.cpp: " << __LINE__ << er.what() << endl;
	}
	catch (const mysqlpp::Exception& er) {
		cout << "mian.cpp: " << __LINE__ << er.what() << endl;
	}
	catch (...) {
		cout << " main.cpp ÖÐ³ö´í¡£" << endl;
	}
	return 0;
}

